Automattic\Jetpack\Dashboard_Customizations\Masterbar C

Total Complexity 117
Dependencies 13
Dependents 0
Total lines 1,387
Lines of code 971
Logical lines of code 258
Comment lines 258
Methods 24
Properties 13

Methods 24

Method Rating Maintainability Complexity Lines of code
add_my_sites_submenu()
D
13
32 478
add_me_submenu()
A
31 5 156
__construct()
A
48 13 28
init()
A
45 11 42
get_jetpack_locale()
A
57 8 17
install_locale()
S
58 7 15
get_locale()
S
58 6 15
add_write_button()
S
53 4 22
add_styles_and_scripts()
S
48 3 37
build_wpcom_masterbar()
S
59 4 15
maybe_logout_user_from_wpcom()
S
62 4 11
add_my_home_submenu_item()
S
58 3 16
add_notifications()
S
54 2 23
wpcom_adminbar_add_secondary_groups()
S
55 1 27
replace_language_dropdown()
S
60 1 15
replace_core_masterbar()
S
68 2 8
remove_core_styles()
S
74 2 5
clear_core_masterbar()
S
74 2 5
wpcom_static_url()
S
68 2 7
add_reader_submenu()
S
62 1 13
hide_language_dropdown()
S
80 1 3
create_menu_item_pair()
S
67 1 7
create_menu_item_anchor()
S
77 1 3
admin_body_class()
S
80 1 3